package com.siysoft.tc.base.bean.to;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the db_works database table.
 * 
 */
@Entity
@Table(name="db_banner")
public class Banner implements Serializable {
	private static final long serialVersionUID = 1L;
	private int bannerId;
	private String title;
	private int type;
	private String metaData;
	private String imgUrl;
	
	public Banner() {
	}

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	public int getBannerId() {
		return bannerId;
	}


	public void setBannerId(int bannerId) {
		this.bannerId = bannerId;
	}



	@Column(name="title")
	public String getTitle() {
		return title;
	}




	public void setTitle(String title) {
		this.title = title;
	}



	@Column(name="type")
	public int getType() {
		return type;
	}




	public void setType(int type) {
		this.type = type;
	}



	@Column(name="meta_data")
	public String getMetaData() {
		return metaData;
	}




	public void setMetaData(String metaData) {
		this.metaData = metaData;
	}



	@Column(name="img_url")
	public String getImgUrl() {
		return imgUrl;
	}




	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}



	
}